Forward error correction

ABSTRACT

A forward correction system using a linked low density parity check (LDPC) code. The linked LDPC code is formed by extending a portion of an original LDPC matrix such that the LDPC code becomes a periodic repeating code.

BACKGROUND OF THE INVENTION

[0001] The present invention relates generally to forward error correction systems, and in particular to forward error correction systems using iteratively decoded codes.

[0002] Electronic communication channels provide for the transmission of large quantities of information. Communication channels, however, tend to be noisy. The noise inherit in a communication channel tends to produce errors in the transmitted information. Accordingly, redundant information is often included in transmitted data, with the redundant information allowing a receiver to reconstruct the transmitted message.

[0003] A large number of coding schemes exist for determining the amount and nature of the redundant information included in transmitted data. The coding schemes tend to vary somewhat in terms of the number of error bits determinable for a given number of information bits and number of redundant bits, the ability to locate the error bits, the ability to correct burst errors, and other various characteristics. In addition, for any particular coding scheme there tend to be a number of codes available, with the codes often varying in terms of the number of information bits and the number of redundant bits. Further, codes may be systematic, with redundant bits added to, for example, the end of a stream of information bits, or non-systematic, with the information bits and the redundant bits combined in various ways to form a transmitted bit stream.

[0004] Coding schemes and actual codes are often selected for use based on various criteria. These criteria include the expected bit error rate (BER) of the transmission system, the desired BER, the amount of transmission overhead associated with a particular code, and the amount of processing necessary to process the code.

[0005] Processing of the code generally entails forming code symbols out of information symbols prior to transmission, and determining the information symbols from received versions of the code symbols, i.e. received symbols, upon reception. Forming of code symbols is often termed encoding, and determining the information symbols from received symbols is often termed decoding. Different codes have different processing requirements for encoding and for decoding.

[0006] One type of codes are low density parity check codes. Low density parity check codes are discussed, for example, in R. G. Gallager, Low Density Parity Check Codes, IRE Trans. Info. Theory, IR-8:21-28 (January 1962), the disclosure of which is incorporated by reference. Generally, low density parity check codes are parity check codes with a parity check matrix containing mostly zeroes. Somewhat specifically, the parity check matrix may be defined in terms of block length N, the number of ones per column j, and the number of ones per row k (N,j,k). The ones in the parity check matrix are preferably randomly distributed within the matrix.

[0007] A parity check matrix may be formed by first generating a submatrix having only a single one per column, and then randomly permutating the columns of the submatrix to form additional submatrices until the entire parity check matrix is formed. Thus, for any (j,k) code a number of parity check matrices of varying, or possibly the same, block lengths may be formed.

[0008] An example parity check matrix is provided as FIG. 1. The parity check matrix, sometimes referred to as H, is for a (3,4) regular low density parity check (LDPC) code. The parity check matrix has a block length n of 12. As illustrated the parity check matrix has three ones per column and four ones per row. The parity check matrix is used for code words 12 of symbols based on information words of 3 symbols.

[0009] Parity check matrices for LDPC codes are often discussed with respect to their associated bipartite graph. A bipartite graph, at least in this context, includes a number of variable nodes and a number of check nodes. The variable nodes are arranged in a first line and the check nodes are arranged in a second line. The number of variable nodes is the same as the number of symbols in the code word. The number of check nodes is equal to the number of constraints, or checks, placed on the variable nodes. Lines, sometimes referred to as edges, connect the variable nodes and the check nodes, and indicate which checks apply to which variables.

[0010] A bipartite graph for the parity check matrix of FIG. 1 is shown in FIG. 2. The graph includes 12 variable nodes and 9 check nodes. Each of the variable nodes 21 is connected by lines 25 to three check nodes, indicating that each variable has three parity checks. Each of the check nodes 23 is connected by lines to four variable nodes, indicating that each check is part of parity checks for four variables.

[0011] Decoding may be accomplished using a variety of methods, including using the parity check directly to determine error symbols. More generally, however, error correction capability may be increased using iterative decoding methods such as the sum-product algorithm, or through use of what is sometimes more generally referred to as belief propagation. The sum product algorithm is described more fully, for example, in N. Wiberg, Codes and Decoding on General Graphs, Linkoping Studies in Science and Technology, Dissertations No. 440 (Linkoping University, 1996), the disclosure of which is incorporated by reference. In short, in these methods probabilities of symbol values are determined and assigned to variables, and then redetermined and assigned multiple times.

SUMMARY OF THE INVENTION

[0012] The present invention therefore provides a forward error correction system including a linked iteratively decoded code. In one embodiment the invention comprises a method of forming sets of code symbols out of a series of sets of code symbols for use in a systematic iteratively decoded code. In a method comprises forming a first set of code symbols by forming a number of code symbols from a first set of data symbols and forming a second number of code symbols using the first set of data symbols and the previously formed code symbols. At least some of the second number of code symbols are formed using code symbols using a previously formed set of code symbols. In a further embodiment the method further comprises forming a second set of code symbols. The second set of code symbols are formed by forming a further second number of code symbols from a second set of data symbols and forming further second member of code symbols using the second set of data symbols and previously formed code symbols. At least some of the further second member of code symbols are formed using at least some of the second member of code symbols.

[0013] In a further embodiment of the invention, the invention comprises a method of forming code bits for use in a system employing a linked low density priority check code. The method comprises receiving a data stream comprising data bits d₁ . . . d_(1A), d₂ . . . d_(2a) . . . d_(y) . . . d_(ya) . . . d_(x) . . . d_(xa) . . . . The method further comprises forming a code stream comprising code bits c₁ . . . C_(1A) . . . C_(1B), C₂ . . . C_(2a) . . . C_(2b) . . . C_(y) . . . C_(ya), C_(ya+1) . . . C_(yb) . . . C_(x) . . . C_(xa), C_(xa+1) . . . C_(be) . . . where c_(x) . . . c_(xa) are d_(x) . . . d_(xa). At least some of the bits c_(xa+)1 . . . c_(xb) are an XOR combination of prior bits including at least some of the bits C_(ya+1) . . . C_(yb).

[0014] A further embodiment of the invention provides a forward error correction system. The forward error correction system uses iteratively decoded codes. The system comprises an encoder. The encoder encodes information symbols to form code symbols. The code symbols are comprises of sets of code symbols, a current set of code symbols comprising a number of code symbols formed of information symbols and a number of code symbols formed using information symbols, code symbols with a previous set of code symbols, and previously formed code symbols of a current set of code symbols. The system further comprises a decoder, the decoder iteratively decoding the code symbols. In a further embodiment of the invention the code symbols are formed using an XOR operation. In one embodiment the XOR operation is accomplished in accordance with a linked low density priority check code. In a further embodiment the linked LDPC code is formed by extending a portion of an original LDPC matrix. In one embodiment the portion of the original LDPC matrix comprises a base portion, an upper extending portion, and a sideways extending portion.

[0015] These and other aspects of the present invention will be more fully appreciated upon examination of the following drawings and detailed description.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016]FIG. 1 illustrates a low density parity check matrix.

[0017]FIG. 2 is a bipartite graph associated with the parity check matrix of FIG. 1.

[0018]FIG. 3 illustrates a transmission system in accordance with the present invention.

[0019]FIG. 4 is a parity check matrix in accordance with aspects of the present invention.

[0020]FIG. 5 illustrates use of the parity check matrix of FIG. 4.

[0021]FIG. 6 illustrates a band matrix forming a parity check matrix in accordance with aspects of the present invention.

[0022]FIG. 7 is a bipartite graph associated with a parity check accomplished for the data transmission format of FIG. 4 of an encoding operation in accordance with the present invention.

DETAILED DESCRIPTION

[0023]FIG. 3 illustrates a data transmission system in accordance with the present invention. A data stream comprising information words is provided to an encoder 15. The encoder forms code words using the information words. The encoder provides the code words to a transmitting unit 17. The transmitting unit transmits the code words over a transmission media 18. In one embodiment, the transmission media is a fiberoptic line and the code words are transmitted serially over the fiberoptic line. In another embodiment, the transmitting unit is an RF transmitter and the code words are transmitted through space.

[0024] After the code words are passed through the transmission media, the code words are received by a receiving unit 19. Upon receipt by the receiving unit the code words are provided to a decoder 20. The decoder decodes and corrects the received signal, thereby extracting the information signal.

[0025] The present invention uses, in one embodiment, a linked LDPC code. Aspects of the linked LDPC code may be understood with respect to FIG. 4. FIG. 4 illustrates a parity check matrix 41 in accordance with aspects of the present invention. Preferably, the parity check matrix is a low density parity check matrix with the matrix primarily comprised of zeros, with ones sparsely populating the matrix. For purposes of example, however, the parity check matrix of FIG. 4 has a relatively heavy weighting of ones.

[0026] As illustrated, a portion 43 of the matrix is extended. The extended portion may be viewed as originating approximate a lower left corner 45 of an original matrix 47, and being placed above approximate an upper left corner 49 of the original matrix. The extended portion is formed of a number of matrix elements below a psuedo-diagonal 51 of the matrix. The psuedo-diagonal delineates a series of blockwise elements 53 a,b,c, about the lower left corner of the matrix. Thus, the original matrix of FIG. 4 is an 8×6 matrix. The extended portion includes a first block 53 a comprised of the elements (5,1), (5,2), (6,1), and (6,2). A second block 53 b is formed of elements (7,1), (7,2), (8,1), and (8,2). A third block 53 c is formed of elements (7,3), (7,4), (8,3), and (8,4). The second element therefore forms a base block in the lower left corner of the original matrix. The first block is an upward extending block extending upward from the base block. The third block is a sideways extending block extending sideways into the original matrix from the base block.

[0027] In operation, the extended portion pertains to, and is correlated with, previously transmitted data. The main portion of the matrix pertains to, and is correlated with, subsequently transmitted data. The subsequently transmitted data, therefore, is linked with the previously transmitted data.

[0028] Decoding using the parity check matrix of FIG. 4 may be described with respect to FIG. 5. FIG. 5 illustrates parity checks using the parity check matrix of FIG. 4 on a received transmitted data stream. The received transmitted data stream includes a series of sets 61 a,n of transmitted code words resulting in received words. Each set of transmitted code words has two data bits 63 a,b and six parity check bits 65 c-f. Each 15 of the bits of the received word have three parity checks 67, and each of the parity checks uses four bits 69. The code, therefore, is a (3,4) code.

[0029] Using a set of data and parity bits from an approximate midpoint of a transmission stream as an example, it may be seen that parity checks utilize parity bits from a previously transmitted set in the series of sets. For example, a first parity check 71 uses bits from an nth received set 61 n and bits from an n−1 received set 61 n-1. Similarly, some of the parity bits from the current series are used in parity checks for subsequently transmitted series. For example, a second parity check 73 uses bits from the nth received word and from an n+1 received word.

[0030] As illustrated in FIG. 5, the two data bits do not include parity checks from a removed portion 75 of the parity check matrix. Instead, a portion of the removed portion is extended from operation on a prior set. This extended portion 77 is used to generate parity check bits used for checking data bits.

[0031] Similarly, some of the parity check bits also have parity checks performed on them using portions of the extended matrix.

[0032] Finally, a portion of the parity bits are used for checks in subsequent sequences.

[0033] Thus, in one embodiment, transmitted bits other than a first set of data bits have parity checks which depend on previously transmitted bits. Similarly, transmitted bits are included in parity checks utilizing subsequently transmitted bits. In other words, transmitted data is decoded in a substantially non-segmented manner with subsequent decoding able to be used to correct errors in previously transmitted bits.

[0034] Alternatively, the parity checks of FIG. 5 may be viewed as similar to a large band matrix. Such a band matrix is shown in FIG. 6. The band matrix has a number of rows 91 equal to the number of transmitted bits in the data stream. The number of columns 93 is dependent on the order of the code used to generate the transmitted bits, and the number of transmitted bits. Within the band the values of the matrix repeat on a periodic basis, the period being related to the size of the code. The periodicity of the elements of the band are useful in allowing for the use of repeating algorithms in decoding.

[0035] The width 95 of the band matrix bounds the number of bits used in parity checks for any particular bit. The width of the band therefore also bounds the number of bits used to encode the information words during encoding. As illustrated, the width of the band is always greater than one, that is does not reduce at of any point to merely the diagonal elements of the matrix. However, the width of the band is also not uniform. Instead, the width of the band varies along with the periodic basis of the repeating values of the matrix.

[0036] A code in accordance with the present invention may therefore be considered a repeating infinite length low density band matrix parity check code. The code is repeating in that the parity checks are repeating in nature.

[0037] The effective length of the code may also be understood with reference to FIG. 7. As illustrated in FIG. 7 the bipartite graph includes a sequence of variable nodes 101 and a sequence of check nodes 103. The sequence of variable nodes is as long as the number of bits in the transmitted code words 103 a . . . n. When viewing the bipartite graph of FIG. 7, it may be seen that the relationship between check nodes and variable nodes is such that changes in value of a variable unassociated with a specific code word may result in correction of a variable associated with some other code word anywhere in a sequence of code words.

[0038] Moreover, use of a system in accordance with FIG. 7 does not 5 unduly increase the time and space necessary to perform encoding operations. As the previous discussion indicates, the code is systematic and the data bits form part of the code word. The parity bits are determined so as to fullfill the appropriate parity check equations determined by the parity check matrix.

[0039] As all parity checks are to be satisfied, each parity check bit can be determined using any of the parity check equations.

[0040] Conveniently, each parity check bit is used in a parity check otherwise made up of previous data bits and previous parity bits.

[0041] Accordingly, each parity bit in one embodiment, is determined by XORing the appropriate previously known or determined bits. For example, information bits are provided to the encoded of FIG. 3. The information bits are part of a stream of information bits, and are used to form code bits. Previously formed code bits are also used in forming the code bits. The information bits themselves form code bits as the code is a systematic code. Successive code bits are then formed using previously formed code bits. The data bits and the successive code bits form a set of code bits. The previously formed code bits comprise the code bits formed of the data bits and code bits from the previous set of code bits. The process continues in this fashion the length of the stream of information bits.

[0042] Using the code of FIG. 5 as an example, the code bits include a set of code bits 61 n. The first two code bits 68 a,b are formed of information bits. The third code bit 70 a is formed by selectively XORing the data bits and code bits from a previous set of code bits 61 n-1. For example, a sixth code bit 70 d is formed by selectively XORing code bits from the previous set of code bits, the data bits, and already calculated code bits from the current set of code bits.

[0043] The present invention therefore provides a forward error correction system method. Although the invention has been described with respect to certain specific embodiments, it should be recognized that those skilled in the art would recognize how to implement the invention within substantial changes. Thus, the present embodiments should be considered exemplary only, with the invention being defined by the claims and their equivalents supported by this disclosure. 

What is claimed is:
 1. A method of forming sets of code symbols out of a series of sets of code symbols for use in a systematic iteratively decoded code, comprising: forming a first set of code symbols by forming a number of code symbols from a first set of data symbols and forming a second number of code symbols using the first set of data symbols and previously formed code symbols, with at least some of the second number of code symbols being formed using code symbols using a previously formed set of code symbols.
 2. The method of claim 1 further comprising: forming a second set of code symbols by forming a further second number of code symbols from a second set of data symbols and forming further second number of code symbols using the second set of data symbols and previously formed code symbols, with at least some of the further second number of code symbols being formed using at least some of the second number of code symbols.
 3. The method of claim 2 wherein the data symbols and code symbols are bits.
 4. The method of claim 3 wherein the code is a low density parity check (LDPC) code.
 5. The method of claim 4 wherein the second number of code symbols are formed by selectively XORing a combination of first data symbols and previously formed code symbols.
 6. The method of claim 5 wherein the further second number of code symbols are formed by selectively XORing a combination of second data symbols and previously formed code symbols, at least some of the previously formed code symbols being code symbols from the second set of code symbols.
 7. A method of forming code bits for use in a system employing a linked low density parity check code, comprising: receiving a data stream comprising data bits d₁ . . . d_(1a), d₂ . . . d_(2a) . . . d_(y) . . . d_(ya) . . . d_(x) . . . d_(xa) . . . ; forming a code stream comprising code bits c₁. . . c_(1a) . . . c_(1b), c₂ . . . c_(2a) . . . c_(2b) . . . C_(y) . . . c_(ya), c_(ya+1) . . . c_(yb) . . . c_(x) . . . c_(xa), c_(xa+1) . . . c_(xb) . . . , with c_(x) . . . c_(xa) being d_(x) . . . d_(xa) and at least some of the bits c_(xa+1) . . . c_(xb) being an XOR combination of prior bits including at least some of the bits c_(ya+1) . . . c_(yb).
 8. A method of forming code words comprising: receiving a first set of data symbols; forming a first set of code symbols; receiving a second set of data symbols; forming a second set of code symbols, the second set of code symbols comprising a selective XOR combination of the first set of code symbols, and the second set of data symbols; receiving a third set of data symbols; and forming a third set of code symbols, the third set of code symbols comprising a selective XOR combination of the second set of code symbols and the third set of data symbols.
 9. A method of decoding transmitted bits to recover a data signal, the method comprising: receiving a stream of transmitted bits, the transmitted bits being encoded in accordance with an extended low density parity check matrix, the extended low density parity check matrix having an extended portion formed of a plurality of blocks of an original low density parity check matrix; iteratively decoding the transmitted bits.
 10. A forward error correction system using iteratively decoded codes, the system comprising: an encoder, the encoder encoding information symbols to form code symbols, the code symbols comprising sets of code symbols, a current set of code symbols comprising a number of code symbols formed of information symbols and a number of code symbols formed using information symbols, code symbols of a previous set of code symbols, and previously formed code symbols of a current set of code symbols; a decoder, the decoder iteratively decoding the code symbols.
 11. The system of claim 10 wherein the number of code symbols formed using information symbols, code symbols of a previous set of code symbols, and previously formed code symbols of a current set of code symbols is formed using an XOR operation.
 12. The system of claim 11 wherein the XOR operation is accomplished in accordance with a linked low density parity check (LDPC) code.
 13. The system of claim 12 wherein the linked LDPC code is formed by extending a portion of an original LDPC matrix.
 14. The system of claim 13 wherein the portion of the original LDPC matrix comprises a base portion, an upper extending portion, and a sideways extending portion. 15 The system of claim 14 wherein the base portion, the tending portion, and the sideways extending portion an equal number of elements. 